package com.liefox.service;

import com.liefox.pojo.Suffer;


import java.util.List;

public interface SufferService {
    /*注册*/
    public int sufferSignup(Suffer suffer);

    /*登录*/
    public  Suffer sufferSignin(Suffer suffer);

    /*获取用户名*/
    public String getSufferName(String Email,String Password);

    /*根据邮箱重置密码*/
    public int sufferRecPw(String Email,String Password);

    /*获取用户信息*/
    public Suffer getSufferInfo(String Email);

    /*修改用户信息*/
    public int updateSufferInfo(Suffer suffer);

    /*获取医生信息*/
    public List<Suffer> getSuffer();

    /*修改密码*/
    public int sufferUpPw(String Email, String Password);



}
